home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMHTMLParamElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  6KB  |  167 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMHTMLParamElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMHTMLParamElement_h__
  6. #define __gen_nsIDOMHTMLParamElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMHTMLElement_h__
  10. #include "nsIDOMHTMLElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMHTMLParamElement */
  19. #define NS_IDOMHTMLPARAMELEMENT_IID_STR "a6cf90ad-15b3-11d2-932e-00805f8add32"
  20.  
  21. #define NS_IDOMHTMLPARAMELEMENT_IID \
  22.   {0xa6cf90ad, 0x15b3, 0x11d2, \
  23.     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  24.  
  25. /**
  26.  * The nsIDOMHTMLParamElement interface is the interface to a [X]HTML
  27.  * param element.
  28.  *
  29.  * For more information on this interface please see
  30.  * http://www.w3.org/TR/DOM-Level-2-HTML/
  31.  *
  32.  * @status FROZEN
  33.  */
  34. class NS_NO_VTABLE nsIDOMHTMLParamElement : public nsIDOMHTMLElement {
  35.  public: 
  36.  
  37.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLPARAMELEMENT_IID)
  38.  
  39.   /* attribute DOMString name; */
  40.   NS_IMETHOD GetName(nsAString & aName) = 0;
  41.   NS_IMETHOD SetName(const nsAString & aName) = 0;
  42.  
  43.   /* attribute DOMString type; */
  44.   NS_IMETHOD GetType(nsAString & aType) = 0;
  45.   NS_IMETHOD SetType(const nsAString & aType) = 0;
  46.  
  47.   /* attribute DOMString value; */
  48.   NS_IMETHOD GetValue(nsAString & aValue) = 0;
  49.   NS_IMETHOD SetValue(const nsAString & aValue) = 0;
  50.  
  51.   /* attribute DOMString valueType; */
  52.   NS_IMETHOD GetValueType(nsAString & aValueType) = 0;
  53.   NS_IMETHOD SetValueType(const nsAString & aValueType) = 0;
  54.  
  55. };
  56.  
  57. /* Use this macro when declaring classes that implement this interface. */
  58. #define NS_DECL_NSIDOMHTMLPARAMELEMENT \
  59.   NS_IMETHOD GetName(nsAString & aName); \
  60.   NS_IMETHOD SetName(const nsAString & aName); \
  61.   NS_IMETHOD GetType(nsAString & aType); \
  62.   NS_IMETHOD SetType(const nsAString & aType); \
  63.   NS_IMETHOD GetValue(nsAString & aValue); \
  64.   NS_IMETHOD SetValue(const nsAString & aValue); \
  65.   NS_IMETHOD GetValueType(nsAString & aValueType); \
  66.   NS_IMETHOD SetValueType(const nsAString & aValueType); 
  67.  
  68. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  69. #define NS_FORWARD_NSIDOMHTMLPARAMELEMENT(_to) \
  70.   NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
  71.   NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
  72.   NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
  73.   NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
  74.   NS_IMETHOD GetValue(nsAString & aValue) { return _to GetValue(aValue); } \
  75.   NS_IMETHOD SetValue(const nsAString & aValue) { return _to SetValue(aValue); } \
  76.   NS_IMETHOD GetValueType(nsAString & aValueType) { return _to GetValueType(aValueType); } \
  77.   NS_IMETHOD SetValueType(const nsAString & aValueType) { return _to SetValueType(aValueType); } 
  78.  
  79. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  80. #define NS_FORWARD_SAFE_NSIDOMHTMLPARAMELEMENT(_to) \
  81.   NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  82.   NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  83.   NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  84.   NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  85.   NS_IMETHOD GetValue(nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
  86.   NS_IMETHOD SetValue(const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
  87.   NS_IMETHOD GetValueType(nsAString & aValueType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueType(aValueType); } \
  88.   NS_IMETHOD SetValueType(const nsAString & aValueType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValueType(aValueType); } 
  89.  
  90. #if 0
  91. /* Use the code below as a template for the implementation class for this interface. */
  92.  
  93. /* Header file */
  94. class nsDOMHTMLParamElement : public nsIDOMHTMLParamElement
  95. {
  96. public:
  97.   NS_DECL_ISUPPORTS
  98.   NS_DECL_NSIDOMHTMLPARAMELEMENT
  99.  
  100.   nsDOMHTMLParamElement();
  101.  
  102. private:
  103.   ~nsDOMHTMLParamElement();
  104.  
  105. protected:
  106.   /* additional members */
  107. };
  108.  
  109. /* Implementation file */
  110. NS_IMPL_ISUPPORTS1(nsDOMHTMLParamElement, nsIDOMHTMLParamElement)
  111.  
  112. nsDOMHTMLParamElement::nsDOMHTMLParamElement()
  113. {
  114.   /* member initializers and constructor code */
  115. }
  116.  
  117. nsDOMHTMLParamElement::~nsDOMHTMLParamElement()
  118. {
  119.   /* destructor code */
  120. }
  121.  
  122. /* attribute DOMString name; */
  123. NS_IMETHODIMP nsDOMHTMLParamElement::GetName(nsAString & aName)
  124. {
  125.     return NS_ERROR_NOT_IMPLEMENTED;
  126. }
  127. NS_IMETHODIMP nsDOMHTMLParamElement::SetName(const nsAString & aName)
  128. {
  129.     return NS_ERROR_NOT_IMPLEMENTED;
  130. }
  131.  
  132. /* attribute DOMString type; */
  133. NS_IMETHODIMP nsDOMHTMLParamElement::GetType(nsAString & aType)
  134. {
  135.     return NS_ERROR_NOT_IMPLEMENTED;
  136. }
  137. NS_IMETHODIMP nsDOMHTMLParamElement::SetType(const nsAString & aType)
  138. {
  139.     return NS_ERROR_NOT_IMPLEMENTED;
  140. }
  141.  
  142. /* attribute DOMString value; */
  143. NS_IMETHODIMP nsDOMHTMLParamElement::GetValue(nsAString & aValue)
  144. {
  145.     return NS_ERROR_NOT_IMPLEMENTED;
  146. }
  147. NS_IMETHODIMP nsDOMHTMLParamElement::SetValue(const nsAString & aValue)
  148. {
  149.     return NS_ERROR_NOT_IMPLEMENTED;
  150. }
  151.  
  152. /* attribute DOMString valueType; */
  153. NS_IMETHODIMP nsDOMHTMLParamElement::GetValueType(nsAString & aValueType)
  154. {
  155.     return NS_ERROR_NOT_IMPLEMENTED;
  156. }
  157. NS_IMETHODIMP nsDOMHTMLParamElement::SetValueType(const nsAString & aValueType)
  158. {
  159.     return NS_ERROR_NOT_IMPLEMENTED;
  160. }
  161.  
  162. /* End of implementation class template. */
  163. #endif
  164.  
  165.  
  166. #endif /* __gen_nsIDOMHTMLParamElement_h__ */
  167.